package cn.leestudio.cloud.order.service;

import cn.leestudio.cloud.order.domain.OrderModel;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2018/3/10.
 */
@Component
public class OrderService {

    public OrderModel findOrderByOrderId(long id){
        OrderModel orderModel = new OrderModel();
        orderModel.setId(1);
        orderModel.setOrderName("这是一个测试");
        return orderModel;
    }
}
